package com.lzh.dlykserver.service;

import com.github.pagehelper.PageInfo;
import com.lzh.dlykserver.entity.TActivity;
import com.lzh.dlykserver.query.ActivityQuery;

import java.util.List;

public interface ActivityService {


    PageInfo<TActivity> getactivityByPage(Integer current, ActivityQuery activityQuery);

    int saveActivity(ActivityQuery activityQuery);

    TActivity getActivityById(Integer id);

    int updateActivity(ActivityQuery activityQuery);

    int deleteActivity(Integer id);

    int batchDeleteActivity(List<String> idList);

    List<TActivity> getAllOnGoingActivity();
}
